<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="../script/jquery-1.7.2.js"></script>
    <script type="text/javascript">
        $(function () {
            //console.log($(":hidden"));
        });
    </script>
</head>
<body>
<input type="hidden" value="123">
<div style="height: 100px; width: 100px; background-color: red; visibility: hidden;">hello</div>
你好
</body>
</html>